package com.kun.mall.seckill.service;

import com.kun.mall.seckill.to.SecKillSkuRedisTo;
import com.kun.mall.seckill.vo.SeckillSesssionsWithSkus;

import java.util.List;

/**
 * @author fangkun
 * @create 2023-04-11-10:30
 */
public interface SeckillService {

    void uploadSeckillSku();

    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
